package com.far.game.xiuzhen.common.enums.game.buf;

import com.alibaba.fastjson.annotation.JSONType;
import com.far.game.xiuzhen.common.interf.IEnums;

import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;
@JSONType(serializeEnumAsJavaBean = true)
public enum BufTypeEnums implements IEnums {

    XUAN_YUN("眩晕",1),
    YIN_NI("隐匿",2),
    ZHUO_SHAO("灼烧",3),
    XU_RUO("虚弱",4),
    HUN_LUAN("混乱",5),
    HU_DUN("护盾",6),
    WU_GONG("物攻",7),
    BAO_JI("暴击",8),
    SHUANG_KANG("双抗",9),
    NENG_LIANG("能量",10),
    MA_BI("麻痹",11),
    BING_DONG("冰冻",12),
    JIN_LING("禁灵",13),
    JIN_GU("禁锢",14),
    PO_JIA("破甲",15),
    ZHONG_DU("中毒",16),
    LIAO_SHANG("疗伤",17),
    FA_GONG("法攻",18),
    MIN_ZHONG("命中",19),
    SHAN_BI("闪避",20),
    HUI_FU("恢复",21),
    ZHUI_JIA("追加",22),
    JUE_SHAN("绝闪",23);

    private int val;
    private String name;


    @Override
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public int getVal() {
        return val;
    }
    public int V() {
        return val;
    }
    public void setVal(int val) {
        this.val = val;
    }

    BufTypeEnums(String name, int val){
        this.name = name;
        this.val = val;
    }



}
